package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.TreatmentPic;
import com.ajk.server.model.query.TreatmentPicQuery;

/**
 * 就诊图片  <br>
 * t_treatment_pic <br>
 * v1.0 2016-05-01
 */
 public interface TreatmentPicService {
	
	/**
 	*根据ID删除 就诊图片
 	*/
 	public Integer deleteTreatmentPicById(Integer id);
 	
 	/**
 	*新增 就诊图片
 	*/
 	public Integer batchInsertTreatmentPic(List<? extends TreatmentPic> treatmentPics);
 	
 	/**
 	*新增 就诊图片
 	*/
 	public Integer insertTreatmentPic(TreatmentPic domain);
 
 	
 	/**
 	*更新 就诊图片
 	*/
 	public Integer updateTreatmentPic(TreatmentPic domain);
 	
 	/**
 	*根据ID查询 就诊图片
 	*/
 	public TreatmentPic findTreatmentPicById(Integer id);

	/**
 	*通过query 查询 就诊图片
 	*/
	public List<TreatmentPic> findTreatmentPicByQuery(TreatmentPicQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countTreatmentPicByQuery(TreatmentPicQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<TreatmentPic> findTreatmentPicByIds(List<Integer> ids);
 	
}	